cmake_minimum_required(VERSION 2.6)

# ######################################################################
# project(hello)

# # 生成动态库(SHARED)
# #  add_library(hello STATIC ${CMAKE_CURRENT_LIST_DIR}/hello.cpp)
#  add_library(hello SHARED ${CMAKE_CURRENT_LIST_DIR}/hello.cpp)
# #  SET_TARGET_PROPERTIES (hello PROPERTIES OUTPUT_NAME "hello")
# #  SET_TARGET_PROPERTIES (hello PROPERTIES OUTPUT_NAME "hello")

# install(TARGETS hello RUNTIME DESTINATION ${CMAKE_CURRENT_LIST_DIR}/lib)
# install(FILES "${CMAKE_CURRENT_LIST_DIR}/hello.h" DESTINATION "${CMAKE_CURRENT_LIST_DIR}/include")
# ######################################################################
project(testhellolib)

#
link_directories(
    D:/00_indemind_lyk/project/testlib/build
)

add_executable(testhellolib usehellolib.cpp)

target_link_libraries(testhellolib hello)

